//
//  CommonTool.swift
//  微博
//
//  Created by 余仿 on 16/4/9.
//  Copyright © 2016年 YF. All rights reserved.
//

import UIKit

 /// 通知的名称:设置不同的根控制器
let YFSwitchRootController = "YFSwitchRootController"

//全局统一错误提示
let AppErrorTip = "世界上最遥远的距离是一大堆wifi,但是我没有密码"

///屏幕宽度
let screenWidth = UIScreen.mainScreen().bounds.width

 /// 屏幕高度
let screenHeigth = UIScreen.mainScreen().bounds.height

 /// 控件之间的间距
let statusCellMargin:CGFloat = 10

 /// 随机颜色
let randomColor = UIColor(red: CGFloat(random() % 256) / 255.0, green: CGFloat(random() % 256), blue: CGFloat(random() % 256), alpha: 1)

let oneMinute:NSTimeInterval = 60

let oneHour:NSTimeInterval = oneMinute * 60


let sharedDF = NSDateFormatter()

 /// 点击了表情键盘的通知
let YFEmotionBtnDidClick = "YFEmotionBtnDidClick"